// 排行版接口
import request from "./http";

// 获取排行版歌单
export function getSearchList(){
    return request({
        url:"/search/hot",
        method:"get",
    })
}

// 获取歌单详情
// /playlist/detail?id=24381616
export function getTopMv(){
    return request({
        url:"/top/mv",
        method:"get",
        params:{
            limit:10
        }
    })
}
//获取搜索相关
export function getSearch(params){
    return request({
        url:"/search",
        method:"get",
        params
        
    })
}
// /search/suggest
export function getSearchSuggest(params){
    return request({
        url:"/search",
        method:"get",
        params
        
    })
}